package com.zxr.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zxr.common.annotation.Excel;
import com.zxr.common.core.domain.BaseEntity;

/**
 * 会员对象 member
 * 
 * @author zxrproject
 * @date 2025-04-26
 */
public class Member extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 授权ID */
    private Long id;

    /** 微信openid */
    @Excel(name = "微信openid")
    private String openId;

    /** 微信unionid */
    @Excel(name = "微信unionid")
    private String unionId;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 真名 */
    @Excel(name = "真名")
    private String realName;

    /** 头像地址 */
    @Excel(name = "头像地址")
    private String avatar;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 删除标识 */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }

    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }

    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openId", getOpenId())
            .append("unionId", getUnionId())
            .append("nickName", getNickName())
            .append("realName", getRealName())
            .append("avatar", getAvatar())
            .append("phone", getPhone())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
